package com.rmkj.trade.match.data;

import com.rmkj.trade.match.core.Goods;
import com.rmkj.trade.match.core.ob.ChangeData;

/**
 * Created by Administrator on 2019/1/11.
 * {
 * "open":0.044297,      // 日K线 开盘价
 * "close":0.042178,     // 日K线 收盘价
 * "low":0.040110,       // 日K线 最低价
 * "high":0.045255,      // 日K线 最高价
 * "amount":12880.8510,  // 24小时成交量
 * "count":12838,        // 24小时成交笔数
 * "vol":563.0388715740, // 24小时成交额
 * "symbol":"ethbtc"     // 交易对
 * }
 */
public class TickerData implements ChangeData {
	private String symbol;
	private String price;
	private String open;
	private String close;
	private String low;
	private String high;
	private double amount;

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getClose() {
		return close;
	}

	public void setClose(String close) {
		this.close = close;
	}

	public String getLow() {
		return low;
	}

	public void setLow(String low) {
		this.low = low;
	}

	public String getHigh() {
		return high;
	}

	public void setHigh(String high) {
		this.high = high;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	@Override
	public String toString() {
		return "TickerData{" +
				"symbol='" + symbol + '\'' +
				", price='" + price + '\'' +
				", open='" + open + '\'' +
				", close='" + close + '\'' +
				", low='" + low + '\'' +
				", high='" + high + '\'' +
				", amount=" + amount +
				'}';
	}
}
